<p id="result">
  Hello,
  <script>
    document.write(new URLSearchParams(location.search).get("name"));
  </script>
</p>
